package com.jyk.blog.service;

import com.jyk.blog.po.Type;

import java.util.List;

public interface TypeService {
    List<Type> queryAll();
    Type queryById(int id);
    Type queryByName(String name);
    void insertOne(String typeName);
    void deleteOne(Type type);
}
